-- GENERATED SPELL FOR [Guard Lasiter] --


function spell0_4973(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4973', 655, 1)
end

function spell1_4973(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(42131,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4973', 1000, 1)
end

function Sorts_4973(pUnit, Event)
local choix_sorts_4973 = math.random(0, 1)
if choix_sorts_4973 == 0 then
pUnit:RegisterEvent('spell0_4973', 1, 1)
end
if choix_sorts_4973 == 1 then
pUnit:RegisterEvent('spell1_4973', 1, 1)
end
end

function mob4973_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4973', math.random(1500, 3000), 1)
end

function mob4973_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4973_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4973_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4973, 1, 'mob4973_Action')
RegisterUnitEvent(4973, 2, 'mob4973_Leave')
RegisterUnitEvent(4973, 3, 'mob4973_Kill')
RegisterUnitEvent(4973, 4, 'mob4973_Die')
